package com.tuoren.forward.mapper;

import java.util.List;

import com.tuoren.forward.annotation.SqlLimit;
import com.tuoren.forward.entity.Product;
import com.tuoren.forward.entity.dto.ProductDto;

@SqlLimit
public interface ProductMapper {
	
    int deleteByPrimaryKey(String id);

    int insert(Product row);

    int insertSelective(Product row);

    
    Product selectByPrimaryKey(String id);
    
    
    List<Product> selectAll();
    
    
    List<Product> select(ProductDto row);

    
    int updateByPrimaryKeySelective(Product row);

    
    int updateByPrimaryKeyWithBLOBs(Product row);

    
    int updateByPrimaryKey(Product row);
}